//
//  ZCNetworkManager.h
//  zctx
//
//  Created by ZhengDarren on 15/9/28.
//  Copyright © 2015年 sanliang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"
#import "DZNetworkBase.h"

#import "ZCMechanismModel.h"
#import "ZCMainModel.h"
#import "ZCItemModelContent.h"

#define NetworkManager [ZCNetworkManager sharedInstance]

@interface ZCNetworkManager : DZNetworkBase

+ (ZCNetworkManager *)sharedInstance;

-(NSString *)strURLBasic;

//1.1 请求接口头

#define URL_REQUEST_HEADER @"http://www.zhongcetianxia.com/index.php/Api"

- (void)requestUrlRequestHeaderssuccess:(void (^)(NSString *urlStr))blockSuccess failure:(void (^)(NSError *error))blockFailure;

// 2.1 验证码下发接口
#define URL_GET_VERIFY_CODE @"/Member/get_verify_code.html"
- (void)requestGetVerifyCodeWithAction:(NSString *)strAction
                                mobile:(NSString *)strMobile
                               success:(void (^)(NSDictionary *dictResponse))blockSuccess
                               failure:(void (^)(NSError *error))blockFailure;

//2.1.6 获取用户红包
#define URL_GET_MY_REDPACK @"/Member/get_my_redpack.html"
- (void)requestGetMyRedpackWithmid:(NSString *)strmid
                                password:(NSString *)strpassword
                              type:(NSString *)strtype
                         pagecount:(NSString *)strpagecount
                             rp_id:(NSString *)strrp_id
                               success:(void (^)(NSDictionary *dictResponse))blockSuccess
                               failure:(void (^)(NSError *error))blockFailure;


// 2.2验证码验证接口

#define URL_VERIFY_CODE @"/Member/verify_code.html"
- (void)requestVerifyCodeWithCode:(NSString *)strCode
                                mobile:(NSString *)strMobile
                          device_token:(NSString *)strdevice_token
                               success:(void (^)(NSDictionary *dictResponse))blockSuccess
                               failure:(void (^)(NSError *error))blockFailure;

//2.3 用户刷新个人资料接口

#define URL_GET_MEMBER_INFO @"/Member/get_member_info.html"
- (void)requestGetMemberInfoWithMid:(NSString *)strMid
                         password:(NSString *)strPassword
                     device_token:(NSString *)strdevice_token
                          success:(void (^)(NSDictionary *dictResponse))blockSuccess
                          failure:(void (^)(NSError *error))blockFailure;


//2.3.1 微信登陆接口
#define URL_GET_MEMBER_INFO_BY_UNIONID @"/Member/get_member_info_by_unionid.html"
- (void)requestGetMemberInfobyunionidWithUnionid:(NSString *)strUnionid
                                 openid:(NSString *)strOpenid
                              from_type:(NSString *)strfromType
                             device_token:(NSString *)strdevice_token
                                  success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                  failure:(void (^)(NSError *error))blockFailure;

//2.3.2 新微信登陆接口
#define URL_GET_MEMBER_INFO_BY_UNIONID_NEW @"/Member/get_member_info_by_unionid_new.html"
- (void)requestGetMemberInfobyunionidWithUnionidNewid:(NSString *)strUnionid
                                          openid:(NSString *)strOpenid
                                       from_type:(NSString *)strfromType
                                    device_token:(NSString *)strdevice_token
                                        nickname:(NSString *)strnickname
                                             sex:(NSString *)strsex
                                        province:(NSString *)strprovince
                                            city:(NSString *)strcity
                                         country:(NSString *)strcountry
                                      headimgurl:(NSString *)strheadimgurl
                                       privilege:(NSString *)strprivilege
                                         success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                         failure:(void (^)(NSError *error))blockFailure;

//2.4 获取分享到微信朋友圈的信息
#define URL_GET_MY_SHARE @"/Member/get_my_share.html"
- (void)requestGetMyshareWithMid:(NSString *)strmid
                                        password:(NSString *)strpassword
                                               success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                               failure:(void (^)(NSError *error))blockFailure;

//2.5 获取我的通知
#define URL_GET_MY_NOTICE @"/Member/get_my_notice.html"
- (void)requestGetMyNoticeWithMid:(NSString *)strmid
                        password:(NSString *)strpassword
                         success:(void (^)(NSArray *ArrayResponse))blockSuccess
                         failure:(void (^)(NSError *error))blockFailure;


//2.6 获取我的项目
#define URL_GET_MY_ORDERS @"/Member/orders.html"
- (void)requestGetMyOrdersWithMid:(NSString *)strmid
                         password:(NSString *)strpassword
                          success:(void (^)(NSDictionary *ArrayResponse))blockSuccess
                          failure:(void (^)(NSError *error))blockFailure;

//2.7 修改用户名
#define URL_MODIFY_USERNAME @"/Member/modify_username.html"
- (void)requestModifyusernameWithMid:(NSString *)strmid
                         username:(NSString *)strusername
                          success:(void (^)(NSDictionary *ArrayResponse))blockSuccess
                          failure:(void (^)(NSError *error))blockFailure;


//2.8 修改手机号
#define URL_MODIFY_MOBILE @"/Member/modify_mobile.html"
- (void)requestModifymobileWithMid:(NSString *)strmid
                             mobile:(NSString *)strmobile
                             success:(void (^)(NSDictionary *ArrayResponse))blockSuccess
                             failure:(void (^)(NSError *error))blockFailure;

//2.9 修改性别
#define URL_MODIFY_GENDER @"/Member/modify_gender.html"
- (void)requestModifygenderWithMid:(NSString *)strmid
                            gender:(NSString *)strgender
                           success:(void (^)(NSDictionary *ArrayResponse))blockSuccess
                           failure:(void (^)(NSError *error))blockFailure;


//2.10 修改地址
#define URL_MODIFY_ADRESS @"/Member/modify_address.html"
- (void)requestModifyaddressWithMid:(NSString *)strmid
                           code:(NSString *)strcode
                           address:(NSString *)straddress
                           success:(void (^)(NSDictionary *ArrayResponse))blockSuccess
                           failure:(void (^)(NSError *error))blockFailure;

//2.11修改生日
#define URL_MODIFY_BIRTHDAY @"/Member/modify_birthday.html"
- (void)requestModifybirthdayWithMid:(NSString *)strmid
                              birthday:(NSString *)strbirthday
                           success:(void (^)(NSDictionary *ArrayResponse))blockSuccess
                           failure:(void (^)(NSError *error))blockFailure;

//2.12 修改用户头像
#define URL_MODIFY_AVATAR @"/Member/modify_avatar.html"
- (void)requestModifyavatarWithMid:(NSString *)strmid
                            password:(NSString *)strpassword
                            avatar:(NSArray *)stravatar
                             success:(void (^)(NSData *data))blockSuccess
                             failure:(void (^)(NSError *error))blockFailure;

//2.13 用户反馈
#define URL_MEMBER_SUB_FEEDBACK @"/Member/sub_feedback.html"
- (void)requestMembersubfeedbackWithMid:(NSString *)strmid
                          contact:(NSString *)strcontact                            content:(NSString *)strcontent
                           success:(void (^)(NSDictionary *data))blockSuccess
                           failure:(void (^)(NSError *error))blockFailure;

//2.14 我的消息
#define URL_MEMBER_MESSAGE @"/Member/message.html"
- (void)requestMemberMessageWithMid:(NSString *)strmid
                                password:(NSString *)strpassword
                                success:(void (^)(NSDictionary*data))blockSuccess
                                failure:(void (^)(NSError *error))blockFailure;

//2.15 健康豆明细
#define URL_MEMBER_GET_BEANS_DETAIL @"/Member/get_beans_detail.html"
- (void)requestMemberGetbeansdetailWithMid:(NSString *)strmid
                           password:(NSString *)strpassword
                            success:(void (^)(NSDictionary*data))blockSuccess
                            failure:(void (^)(NSError *error))blockFailure;


//2.16 "我的"推荐给盆友 分享
#define URL_MEMBER_SHARE_FROM_APP @"/Member/share_from_app"
- (void)requestMemberShareFromAppWithsuccess:(void (^)(NSDictionary *dictResponse))blockSuccess failure:(void (^)(NSError *error))blockFailure;


//3.0 获取产品分类
#define URL_UOUNDING_GET_SORTS @"/Founding/get_sorts.html"
- (void)requestFoundinggetsortsWithsuccess:(void (^)(NSArray *dictResponse))blockSuccess failure:(void (^)(NSError *error))blockFailure;

//3.1 获取检测项目列表

#define URL_FOUNDING_GET_PACKAGES @"/Founding/get_packages.html"
- (void)requestFoundingGetPackagesWithSortid:(NSString *)strSortid success:(void (^)(NSMutableArray *array))blockSuccess failure:(void (^)(NSError *error))blockFailure;

// 3.1.1 获取检测套餐详情
#define URL_FOUNDING_GET_PACKAGES_INFORMATION @"/Founding/get_packages_information.html"
- (void)requestFoundingGetPackageWithId:(NSString *)strId
                                success:(void (^)(ZCItemModelContent *model))blockSuccess
                                failure:(void (^)(NSError *error))blockFailure;


//3.2 获取第三方检测机构列表

#define URL_FOUNDING_GET_LABS @"/Founding/get_labs.html"
- (void)requestFoundingGetLabssuccess:(void (^)(NSArray *array))blockSuccess
                              failure:(void (^)(NSError *error))blockFailure;



//3.3 发布众筹提交后台审核

#define URL_FOUNDING_PUBLISH @"/Founding/publish.html"
- (void)requestFoundingPublishWithMid:(NSString *)strmid
                             password:(NSString *)strpassword
                               pjname:(NSString *)strpjname
                               pdname:(NSString *)strpdname
                             citycode:(NSString *)strcitycode
                                brand:(NSString *)strbrand
                            packageid:(NSString *)strpackageid
                        institutionid:(NSString *)instiutionid
                               emoney:(NSString *)stremoney
                             fromtype:(NSString *)strfromtype
                              content:(NSString *)strcontent
                           categoryid:(NSString *)strcategoryid
                             sampleid:(NSString *)strsampleid
                              success:(void (^)(NSDictionary *dictResponse))blockSuccess
                              failure:(void (^)(NSError *error))blockFailure;


//3.3.1 提交众筹项目的图片上传
#define URL_FOUNDING_PUBLISH_IMAGE_UPLOAD @"/Founding/publish_image_upload.html"
- (void)requestFoundingPublishimageuploadMid:(NSString *)strmid
                                  password:(NSString *)strpassword
                             image:(NSArray *)strimage
                              success:(void (^)(NSData *data))blockSuccess
                              failure:(void (^)(NSError *error))blockFailure;

//3.4 获取众筹列表(包括搜索功能)

#define URL_FOUNDING_GET_ALL @"/Founding/get_all.html"
- (void)requestFoundingGetAllWithType:(NSString *)strtype
                             mid:(NSString *)strpassword
                               password:(NSString *)strpassword
                               mtype:(NSString *)strmtype
                                pagecount:(NSString *)strpagecount
                            keywords:(NSString *)strkeywords
                              success:(void (^)(NSDictionary *array))blockSuccess
                              failure:(void (^)(NSError *error))blockFailure;


//3.4.1 获取众筹列表(首页最新)

#define URL_FOUNDING_GET_LATEST @"/Founding/get_latest.html"
- (void)requestFoundingGetLatestWithMid:(NSString *)strmid
                                  password:(NSString *)strpassword
                              success:(void (^)(NSDictionary *dictResponse))blockSuccess
                              failure:(void (^)(NSError *error))blockFailure;


//3.5 获取单个众筹项目详情
#define URL_FOUNDING_GET_One @"/Founding/get_one.html"
- (void)requestFoundingGetOneWithId:(NSString *) strid
                               Mid:(NSString *)strmid
                               password:(NSString *)strpassword
                                success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                failure:(void (^)(NSError *error))blockFailure;


//3.5.1 获取单个众筹项目赞助列表
#define URL_FOUNDING_GET_One_SPONSOR @"/Founding/get_one_sponsor.html"
- (void)requestFoundingGetOneSponsorWithId:(NSString *) strid
                                Mid:(NSString *)strmid
                                  password:(NSString *)strpassword
                                 pagecount:(NSString *)strpagecount
                            success:(void (^)(NSDictionary *dictResponse))blockSuccess
                            failure:(void (^)(NSError *error))blockFailure;


//3.5.2 获取单个众筹项目检测机构信息
#define URL_FOUNDING_GET_One_INSTITUTION @"/Founding/get_one_institution.html"
- (void)requestFoundingGetOneinstitutionWithId:(NSString *) strid
                                       Mid:(NSString *)strmid
                                  password:(NSString *)strpassword
                                   success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                   failure:(void (^)(NSError *error))blockFailure;

//3.5.3 获取单个众筹的检测内容
#define URL_FOUNDING_GET_One_PACKAGES @"/Founding/get_one_packages.html"
- (void)requestFoundingGetOnepackagesWithId:(NSString *) strid
                                            Mid:(NSString *)strmid
                                       password:(NSString *)strpassword
                                        success:(void (^)(NSArray *dictResponse))blockSuccess
                                        failure:(void (^)(NSError *error))blockFailure;


//3.5.4 获取单个众筹的样品信息
#define URL_FOUNDING_GET_One_SAMPLES @"/Founding/get_one_samples.html"
- (void)requestFoundingGetOnesamplesWithId:(NSString *) strid
                                        Mid:(NSString *)strmid
                                   password:(NSString *)strpassword
                                    success:(void (^)(NSArray *dictResponse))blockSuccess
                                    failure:(void (^)(NSError *error))blockFailure;

//3.5.5 获取单个众筹的评论信息 [包含分页]
#define URL_FOUNDING_GET_One_COMMENTS @"/Founding/get_one_comments.html"
- (void)requestFoundingGetOnecommentsWithId:(NSString *) strid
                                       Mid:(NSString *)strmid
                                  password:(NSString *)strpassword
                                  pagecount:(NSString *)strpagecount
                                        pid:(NSString *)strpid
                                   success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                   failure:(void (^)(NSError *error))blockFailure;

//3.5.6 增加单个众筹的评论信息
#define URL_FOUNDING_GET_One_COMMENT @"/Founding/add_one_comment.html"
- (void)requestFoundingGetOnecommentWithId:(NSString *) strid
                                        Mid:(NSString *)strmid
                                   password:(NSString *)strpassword
                                    content:(NSString *)strcontent
                                       pid:(NSString *)strpid
                                    success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                    failure:(void (^)(NSError *error))blockFailure;

//3.5.7 增加单个众筹的收藏信息
#define URL_FOUNDING_GET_One_COLLETION @"/Founding/add_one_collection.html"
- (void)requestFoundingGetOnecolletionWithId:(NSString *) strid
                                       Mid:(NSString *)strmid
                                  password:(NSString *)strpassword
                                ifcollection:(NSString *)strifcollection
                                   success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                   failure:(void (^)(NSError *error))blockFailure;

//3.5.8 增加单个众筹的评论的点赞信息
#define URL_FOUNDING_GET_One_COMMENT_LIKE @"/Founding/add_one_comment_like.html"
- (void)requestFoundingGetOnecommentlikeWithCId:(NSString *) strcid
                                            Mid:(NSString *)strmid
                                       password:(NSString *)strpassword
                                        success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                        failure:(void (^)(NSError *error))blockFailure;



//// 3.6 发起众筹接口
//#define URL_FOUNDING_PUBLISH @"/Founding/publish.html"
//- (void)requestFoundingPublishWithMid:(NSInteger)strmid
//                             password:(NSString *)strpassword
//                               pjname:(NSString *)strpjname
//                               pdname:(NSString *)strpdname
//                             citycode:(NSString *)strcitycode
//                                brand:(NSString *)strbrand
//                            packageid:(NSString *)strpackageid
//                        institutionid:(NSString *)instiutionid
//                               emoney:(NSString *)stremoney
//                              success:(void (^)(NSDictionary *dictResponse))blockSuccess
//                              failure:(void (^)(NSError *error))blockFailure;


// 3.7 判断是否走支付接口
#define URL_FOUNDING_PAYIT @"/Founding/payit.html"
- (void)requestFoundingPayitWithMid:(NSString *)strmid
                           password:(NSString *)strpassword
                               type:(NSString *)strtype
                               fdid:(NSString *)strfdid
                             donate:(NSString *)strdonate
                              rp_id:(NSString *)strrp_id
                                   success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                   failure:(void (^)(NSError *error))blockFailure;

//3.8 获取项目分享到微信朋友圈的信息
#define URL_FOUNDING_GET_SHARE @"/Founding/get_share.html"
- (void)requestFoundingGetShareWithMid:(NSString *)strmid
                              password:(NSString *)strpassword
                                  fdid:(NSString *)strfdid
                                  type:(NSString *)strtype
                            success:(void (^)(NSDictionary *dictResponse))blockSuccess
                            failure:(void (^)(NSError *error))blockFailure;

//3.8.0 获取项目分享到微信朋友圈/QQ/微博 的信息[有红包]
#define URL_FOUNDING_GET_SHARE_WITH_REDPACK @"/Founding/get_share_with_redpack.html"


//3.9 关注项目
#define URL_INDEX_GET_COLLECTION_FOUNDINGS @"/Founding/get_collection_foundings.html"
- (void)requestIndexCollectionFoundingsWithMid:(NSString *)strmid
                              password:(NSString *)strpassword
                                  pagecount:(NSString *)strpagecount
                               success:(void (^)(NSDictionary *dictResponse))blockSuccess
                               failure:(void (^)(NSError *error))blockFailure;

//4.1 通过条形码获取产品资料
#define URL_PRODUCT_GET_INFO_BY_BARCODE @"/Product/get_info_by_barcode.html"
- (void)requestProductGetInfoByBarcodeWithMid:(NSString *)strmid
                                      barcode:(NSString *)strbarcode
                                    pagecount:(NSString *)strpagecount
                               success:(void (^)(NSDictionary *dictResponse))blockSuccess
                               failure:(void (^)(NSError *error))blockFailure;


//4.2 通过产品id获取产品信息
#define URL_PRODUCT_GET_INFO_BY_PID @"/Product/get_info_by_pid.html"
- (void)requestProductGetInfoByPidWithMid:(NSInteger)strmid
                                      pid:(NSInteger)strpid
                                      success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                      failure:(void (^)(NSError *error))blockFailure;

//4.3 产品关键字搜索列表
#define URL_PRODUCT_GET_INFO_BY_KEYWORDS @"/Product/get_info_by_keywords.html"
#define URL_PRODUCT_GET_INFO_BY_KEYWORDSWITHPAGE @"/Product/get_info_by_keywords_with_page.html"
- (void)requestProductGetInfoByKeywordsWithMid:(NSString *)strmid
                                      keywords:(NSString *)strkeywords
                                   keywords_py:(NSString *)strkeywords_py
                                     pagecount:(NSString *)strpagecount
                                  success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                  failure:(void (^)(NSError *error))blockFailure;

//4.4 曝光台关键字搜索列表

#define URL_PRODUCT_GET_UNSAFE__INFO_BY_KEYWORDS_PAGE @"/Product/get_unsafe_info_by_keywords.html"
- (void)requestProductGetUnsafeInfoByKeywordsPageWithMid:(NSString *)strmid
                                      keywords:(NSString *)strkeywords
                                   keywords_py:(NSString *)strkeywords_py
                                     pagecount:(NSString *)strpagecount
                                       success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                       failure:(void (^)(NSError *error))blockFailure;


//4.5 获取搜索关键字(正常搜索和曝光台）
#define URL_PRODUCT_GET_SEARCH_KEYWORDS @"/Product/get_search_keywords.html"
- (void)requestProductGetsearchKeywordsWithMid:(NSString *)strmid
                                                password:(NSString *)strpassword
                                                 success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                                 failure:(void (^)(NSError *error))blockFailure;

//4.6 我要纠错
#define URL_PRODUCT_FEEDBACK_PRODUCT_ERROR @"/Product/feedback_product_error.html"
- (void)requestProductfeedbackProductErrorWithImgid:(NSString *)strimgId
                                               name:(NSString *)strname
                                              brand:(NSString *)strbrand
                                      specification:(NSString *)strspecification
                                                mid:(NSString *)strmid
                                            barcode:(NSString *)strbarcode
                                       success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                       failure:(void (^)(NSError *error))blockFailure;


//5.1 广告列表

#define URL_INDEX_AD_LISTS @"/Index/ad_lists.html"
- (void)requestIndexadlistsWithMid:(NSString *)mid
                          password:(NSString *)strpassword
                           success:(void (^)(NSDictionary *dictResponse))blockSuccess failure:(void (^)(NSError *error))blockFailure;

//5.3 首页热点资讯

#define URL_INDEX_LATEST_NEWS @"/Index/latest_news.html"
- (void)requestIndexlatestnewsWithPagecount:(NSString *)strPagecount
                                  rank_type:(NSString *)strRanktype
                                success:(void (^)(NSDictionary *dictResponse))blockSuccess failure:(void (^)(NSError *error))blockFailure;

//5.3.1 首页热点资讯详情
#define URL_INDEX_NEWS_GET_ONE @"/Index/news_get_one.html"
- (void)requestIndexnewsgetoneWithNewid:(NSString *)strnewid
                                    mid:(NSString *)strmid
                               password:(NSString *)strpassword
                                  ctype:(NSString *)strctype
                                  success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                  failure:(void (^)(NSError *error))blockFailure;

//5.3.2 获取热点资讯分享到微信朋友圈
#define URL_INDEX_GET_SHARE_OF_NEWS @"/Index/get_share_of_news.html"
- (void)requestIndexGetShareofnewsWithNewsid:(NSString *)strnewsid
                                        type:(NSString *)strtype
                               success:(void (^)(NSDictionary *dictResponse))blockSuccess
                               failure:(void (^)(NSError *error))blockFailure;

//5.3.2.1 获取分享到微信朋友圈,成功后的奖励
#define URL_INDEX_GET_SHARE_FINISH @"/Index/get_share_finish.html"
- (void)requestIndexGetSharefinishWithmid:(NSString *)strmid
                                        password:(NSString *)strpassword
                                   newsid:(NSString *)strnewsid
                                     success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                     failure:(void (^)(NSError *error))blockFailure;

//5.3.3 增加文章的评论信息
#define URL_INDEX_ADD_ARTICLE_COMMENT @"/Index/add_article_comment.html"
- (void)requestIndexGetAddarticleWithNewsid:(NSString *)strnewsid
                                        mid:(NSString *)strmid
                                   password:(NSString *)strpassword
                                    content:(NSString *)strcontent
                                        pid:(NSString *)strpid
                                      ctype:(NSString *)strtype
                                     success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                     failure:(void (^)(NSError *error))blockFailure;

//5.3.4 增加文章的收藏信息

#define URL_INDEX_ADD_ARTICLE_COLLECTION @"/Index/add_article_collection.html"
- (void)requestIndexGetAddarticleCollectionWithNewsid:(NSString *)  strnewsid
                                        mid:(NSString *)strmid
                                   password:(NSString *)strpassword
                               ifcollection:(NSString *)strifcollection
                                      ctype:(NSString *)strctype
                                    success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                    failure:(void (^)(NSError *error))blockFailure;


//5.3.5 增加文章的点赞信息

#define URL_INDEX_ADD_ARTICLE_COMMENT_LIKE @"/Index/add_article_comment_like.html"
- (void)requestIndexGetAddarticleCommentlikeWithNewscid:(NSString *)strcid
                                                  mid:(NSString *)strmid
                                             password:(NSString *)strpassword
                                              success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                              failure:(void (^)(NSError *error))blockFailure;

//5.3.6 获取文章的评论信息

#define URL_INDEX_ADD_ARTICLE_COMMENTS @"/Index/get_article_comments.html"
- (void)requestIndexGetAddarticleCommentslikeWithNewscid:(NSString *)  strcid
                                                    mid:(NSString *)strmid
                                               password:(NSString *)strpassword
                                               pagecount:(NSString *)strpagecount
                                                     pid:(NSString *)strpid
                                                   ctype:(NSString *)strctype
                                                success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                                failure:(void (^)(NSError *error))blockFailure;

//5.4 首页标签

#define URL_INDEX_TAGS @"/Index/tags.html"
- (void)requestIndextagsWithsuccess:(void (^)(NSDictionary *dictResponse))blockSuccess failure:(void (^)(NSError *error))blockFailure;

//5.5 收藏文章
#define URL_INDEX_GET_COLLECTION_NEWS @"/Index/get_collection_news.html"
- (void)requestIndexGetCollectionNewsmid:(NSString *)strmid
                                password:(NSString *)strpassword
                               pagecount:(NSString *)strpagecount
                                 success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                                failure:(void (^)(NSError *error))blockFailure;
//5.6.1 获取首页常见问题列表
#define URL_INDEX_GET_FAQ_LIST @"/Index/get_faq_list.html"
- (void)requestIndexgetfaqlistWithsuccess:(void (^)(NSDictionary *dictResponse))blockSuccess failure:(void (^)(NSError *error))blockFailure;

//5.6.2 危害须知

#define URL_INDEX_GET_HARM_LIST @"/Index/get_new_harm_list"
//#define URL_INDEX_GET_HARM_LIST @"/Index/get_harm_list.html"
- (void)requestIndexgetharmlistWithsuccess:(void (^)(NSDictionary *dictResponse))blockSuccess failure:(void (^)(NSError *error))blockFailure;

//5.6.3 食事周刊列表
#define URL_INDEX_GET_WEEKLY_LIST @"/Index/get_weekly_list.html"
- (void)requestIndexGetweeklylistpagecount:(NSString *)strpagecount
                                success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                 failure:(void (^)(NSError *error))blockFailure;

//5.6.3.1 食事周刊热门评论
#define URL_INDEX_GET_WEEKLY_GET_ONE @"/Index/weekly_get_one.html"
- (void)requestIndexGetweeklygetoneid:(NSString *)strid
                                   success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                   failure:(void (^)(NSError *error))blockFailure;

//5.6.4 获取食事周刊分享到微信朋友圈
#define URL_INDEX_GET_SHARE_WEEKLY_LIST @"/Index/get_share_of_weekly.html"
- (void)requestIndexGetweeklylistnewsid:(NSString *)strnewsid
                                   type:(NSString *)strtype
                                   success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                   failure:(void (^)(NSError *error))blockFailure;

/* 安全小卫士活动接口 */
#pragma mark 安全小卫士活动接口

//6.1 获取用户的学生资料数据
#define URL_ACSUZHOU_XWS_MEMBER_INFO @"/Acshiyaoju/xws_member_info.html"
- (void)requestAcsuzhouXwsMemberInfomid:(NSString *)strmid
                                   password:(NSString *)strpassword
                                success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                failure:(void (^)(NSError *error))blockFailure;

//6.2 获取学生的投票详情
#define URL_ACSUZHOU_XWS_VOTE_DETAIL @"/Acshiyaoju/xws_vote_detail.html"
- (void)requestAcsuzhouXwaVoteDetailmid:(NSString *)strmid
                               password:(NSString *)strpassword
                                    sid:(NSString *)strid
                                success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                failure:(void (^)(NSError *error))blockFailure;

//6.2.1 获取学生的投票详情的分享链接
#define URL_ACSUZHOU_XWS_GET_SHARE @"/Acshiyaoju/xws_get_share.html"
- (void)requestAcsuzhouXwaGetSharemid:(NSString *)strmid
                               password:(NSString *)strpassword
                                  pid:(NSString *)strpid
                                 type:(NSString *)strtype
                                success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                failure:(void (^)(NSError *error))blockFailure;

//6.3 发起投票
#define URL_ACSUZHOU_XWS_SUBMIT @"/Acshiyaoju/xws_submit.html"
- (void)requestAcsuzhouXwaSubmitmid:(NSString *)strmid
                             password:(NSString *)strpassword
                           thumb_id:(NSString *)strthumb_id
                             slogan:(NSString *)strslogan
                              success:(void (^)(NSDictionary *dictResponse))blockSuccess
                              failure:(void (^)(NSError *error))blockFailure;

//6.3.1 图片上传
#define URL_ACSUZHOU_XWS_IMAGE_UPLOAD @"/Acshiyaoju/xws_image_upload.html"
- (void)requestAcsuzhouXwaImageUploadmid:(NSString *)strmid
                           password:(NSString *)strpassword
                           image:(NSArray *)strimage
                            success:(void (^)(NSData *data))blockSuccess
                            failure:(void (^)(NSError *error))blockFailure;

//6.4 获取学生的抽奖情况
#define URL_ACSUZHOU_PRIZE_RECORD @"/Acshiyaoju/prize_record.html"
- (void)requestAcsuzhouPrizeRecordmid:(NSString *)strmid
                                password:(NSString *)strpassword
                                 success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                 failure:(void (^)(NSError *error))blockFailure;
//6.4。1 获取学生的投票列表
#define URL_ACSUZHOU_XWS_LIST @"/Acshiyaoju/xws_vote_list.html"
- (void)requestAcsuzhouXwsVotelistmid:(NSString *)strmid
                             password:(NSString *)strpassword
                            pagecount:(NSString *)strPagecount
                              keyword:(NSString *)strkeyword
                                 type:(NSString *)strtype
                              success:(void (^)(NSDictionary *dictResponse))blockSuccess
                              failure:(void (^)(NSError *error))blockFailure;

//6.5  抽奖接口
#define URL_ACSUZHOU_GET_PRIZE @"/Acshiyaoju/get_prize.html"
- (void)requestAcsuzhouGetPrizemid:(NSString *)strmid
                             password:(NSString *)strpassword
                              success:(void (^)(NSDictionary *dictResponse))blockSuccess
                              failure:(void (^)(NSError *error))blockFailure;

//7.1.1 获取当前用户和活动的参与资料
#define URL_ACSHIYAO_GET_MEMBER_INFO @"/Acshiyaoju/get_member_info.html"
- (void)requestAcshiyaojuGetMemberInfomid:(NSString *)strmid
                               password:(NSString *)strpassword
                                success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                failure:(void (^)(NSError *error))blockFailure;


//7.1.2 获取当前开放活动城市
#define URL_ACSHIYAO_GET_CITIES @"/Acshiyaoju/get_cities.html"
- (void)requestAcshiyaojuGetCitiesmid:(NSString *)strmid
                                 password:(NSString *)strpassword
                                  success:(void (^)(NSDictionary *dictResponse))blockSuccess
                                  failure:(void (^)(NSError *error))blockFailure;

//7.1.3 更新会员的城市绑定信息
#define URL_ACSHIYAO_UPDATE_MEMBER_INFO @"/Acshiyaoju/update_member_info.html"
- (void)requestAcshiyaojuUpdateMemberInfomid:(NSString *)strmid
                             password:(NSString *)strpassword
                          region_code:(NSString *)strregion_code
                              success:(void (^)(NSDictionary *dictResponse))blockSuccess
                              failure:(void (^)(NSError *error))blockFailure;

@end
